Optimal. Leaf size=58 \[ -\frac {x}{3 a \left (a+\frac {b}{x^2}\right )^{3/2}}-\frac {4 x}{3 a^2 \sqrt {a+\frac {b}{x^2}}}+\frac {8 \sqrt {a+\frac {b}{x^2}} x}{3 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {198, 197}
\begin {gather*} \frac {8 x \sqrt {a+\frac {b}{x^2}}}{3 a^3}-\frac {4 x}{3 a^2 \sqrt {a+\frac {b}{x^2}}}-\frac {x}{3 a \left (a+\frac {b}{x^2}\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 198
Rubi steps
\begin {align*} \int \frac {1}{\left (a+\frac {b}{x^2}\right )^{5/2}} \, dx &=-\frac {x}{3 a \left (a+\frac {b}{x^2}\right )^{3/2}}+\frac {4 \int \frac {1}{\left (a+\frac {b}{x^2}\right )^{3/2}} \, dx}{3 a}\\ &=-\frac {x}{3 a \left (a+\frac {b}{x^2}\right )^{3/2}}-\frac {4 x}{3 a^2 \sqrt {a+\frac {b}{x^2}}}+\frac {8 \int \frac {1}{\sqrt {a+\frac {b}{x^2}}} \, dx}{3 a^2}\\ &=-\frac {x}{3 a \left (a+\frac {b}{x^2}\right )^{3/2}}-\frac {4 x}{3 a^2 \sqrt {a+\frac {b}{x^2}}}+\frac {8 \sqrt {a+\frac {b}{x^2}} x}{3 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 49, normalized size = 0.84 \begin {gather*} \frac {\left (b+a x^2\right ) \left (8 b^2+12 a b x^2+3 a^2 x^4\right )}{3 a^3 \left (a+\frac {b}{x^2}\right )^{5/2} x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 50, normalized size = 0.86
method | result | size |
gosper | \(\frac {\left (a \,x^{2}+b \right ) \left (3 a^{2} x^{4}+12 a b \,x^{2}+8 b^{2}\right )}{3 a^{3} x^{5} \left (\frac {a \,x^{2}+b}{x^{2}}\right )^{\frac {5}{2}}}\) | \(50\) |
default | \(\frac {\left (a \,x^{2}+b \right ) \left (3 a^{2} x^{4}+12 a b \,x^{2}+8 b^{2}\right )}{3 a^{3} x^{5} \left (\frac {a \,x^{2}+b}{x^{2}}\right )^{\frac {5}{2}}}\) | \(50\) |
trager | \(\frac {x \left (3 a^{2} x^{4}+12 a b \,x^{2}+8 b^{2}\right ) \sqrt {-\frac {-a \,x^{2}-b}{x^{2}}}}{3 a^{3} \left (a \,x^{2}+b \right )^{2}}\) | \(54\) |
risch | \(\frac {a \,x^{2}+b}{a^{3} \sqrt {\frac {a \,x^{2}+b}{x^{2}}}\, x}+\frac {\left (a \,x^{2}+b \right ) \left (6 a \,x^{2}+5 b \right ) b}{3 a^{3} \left (a^{2} x^{4}+2 a b \,x^{2}+b^{2}\right ) \sqrt {\frac {a \,x^{2}+b}{x^{2}}}\, x}\) | \(88\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 51, normalized size = 0.88 \begin {gather*} \frac {\sqrt {a + \frac {b}{x^{2}}} x}{a^{3}} + \frac {6 \, {\left (a + \frac {b}{x^{2}}\right )} b x^{2} - b^{2}}{3 \, {\left (a + \frac {b}{x^{2}}\right )}^{\frac {3}{2}} a^{3} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 63, normalized size = 1.09 \begin {gather*} \frac {{\left (3 \, a^{2} x^{5} + 12 \, a b x^{3} + 8 \, b^{2} x\right )} \sqrt {\frac {a x^{2} + b}{x^{2}}}}{3 \, {\left (a^{5} x^{4} + 2 \, a^{4} b x^{2} + a^{3} b^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 163 vs.
\(2 (51) = 102\).
time = 0.64, size = 163, normalized size = 2.81 \begin {gather*} \frac {3 a^{2} b^{\frac {9}{2}} x^{4} \sqrt {\frac {a x^{2}}{b} + 1}}{3 a^{5} b^{4} x^{4} + 6 a^{4} b^{5} x^{2} + 3 a^{3} b^{6}} + \frac {12 a b^{\frac {11}{2}} x^{2} \sqrt {\frac {a x^{2}}{b} + 1}}{3 a^{5} b^{4} x^{4} + 6 a^{4} b^{5} x^{2} + 3 a^{3} b^{6}} + \frac {8 b^{\frac {13}{2}} \sqrt {\frac {a x^{2}}{b} + 1}}{3 a^{5} b^{4} x^{4} + 6 a^{4} b^{5} x^{2} + 3 a^{3} b^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.27, size = 62, normalized size = 1.07 \begin {gather*} -\frac {8 \, \sqrt {b} \mathrm {sgn}\left (x\right )}{3 \, a^{3}} + \frac {\sqrt {a x^{2} + b}}{a^{3} \mathrm {sgn}\left (x\right )} + \frac {6 \, {\left (a x^{2} + b\right )} b - b^{2}}{3 \, {\left (a x^{2} + b\right )}^{\frac {3}{2}} a^{3} \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.33, size = 43, normalized size = 0.74 \begin {gather*} \frac {x\,{\left (\frac {a\,x^2}{b}+1\right )}^{5/2}\,\sqrt {x^{10}}\,{{}}_2{\mathrm {F}}_1\left (\frac {5}{2},3;\ 4;\ -\frac {a\,x^2}{b}\right )}{6\,{\left (a\,x^2+b\right )}^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________